#ifndef _MAT_GEMCLEAR_H_
#define _MAT_GEMCLEAR_H_

#include "ui/ui_sprite.h"

struct MATGem;

class MATClearGem
{
public:

	~MATClearGem();
	
	void				Init(bool bWinGame);
	void				Clear();
	bool				Tick(float dt);
	void				Render();

	
protected:

	struct ENDFX_NODE 
	{
		ui::UISprite*				m_pSprite;
		math::Vec2					Pos;
		math::Vec2					Speed;
		float						Rotate;
		float						RotSpeed;

		ENDFX_NODE() : m_pSprite(NULL) {};
	};

	
	std::vector<ENDFX_NODE>		m_Blocks;
	bool						m_bInit;
	bool						m_bWinFX;
	

	

};


#endif //_MAT_GEMCLEAR_H_